#include <iostream>
using namespace std;

int main()
{
	char ch = 0;
	cin>>ch;
	cout<<"  "<<ch<<endl;
	cout<<' '<<ch<<ch<<ch<<endl;
	cout<<ch<<ch<<ch<<ch<<ch<<endl;
	return 0;
}
